package com.yqg.manage.service.impl;

import com.yqg.manage.entity.Unit;
import com.yqg.manage.mapper.UnitMapper;
import com.yqg.manage.service.IUnitService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * UnitServiceImpl 服务实现类
 * @author zxf
 * @since 2025-09-16
 */
@Service
public class UnitServiceImpl extends ServiceImpl<UnitMapper, Unit> implements IUnitService {
    @Resource
    private UnitMapper unitMapper;
    @Override
    public List<Map<String,Object>> getAllUnitDocumentNumber() {
        return unitMapper.getAllUnitDocumentNumber();
    }
}
